package edu.suda.xsap.service;
import edu.suda.xsap.dto.EmployeeDto;
import edu.suda.xsap.entity.Employee;

import java.util.List;

public interface EmployeeService {
    void delete(Integer id);
    List<EmployeeDto> findAll();
    EmployeeDto findById(Integer id);
    EmployeeDto findByName(String name);
    void save(Employee employee);
    void update(Employee employee);
}
